﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace bomberbide
{
    public class bombe:acteur
    {
        private double _Boum;
        public double Boum
        {
            get { return _Boum; }
            set { _Boum = value; }
        }

        private int _Portee;
        public int Portee
        {
            get { return _Portee; }
            set { _Portee = value; }
        }

        private bomber _Lanceur;
        public bomber Lanceur
        {
            get { return _Lanceur; }
            set { _Lanceur = value; }
        }
        
        
        public bombe(GameTime gameTime)
        {
            this.Boum = gameTime.TotalGameTime.TotalMilliseconds + 3000;
            this.Portee = 2;
        }
        public bombe(GameTime gameTime, ContentManager Content): this(gameTime)
        {
            this.Texture = Content.Load<Texture2D>("sprite/bombe");
        }
    }
}
